#!/bin/csh 

setenv NCARG_ROOT /Users/zhan524/tools/ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421

#foreach varn (v200 v300 v500 v700 v850) 
foreach varn (v850) 
setenv  fna "X0006A_0003-0007_ANN_pres.nc" 
setenv  fnb "T63L31K01_2010_ANN_pres.nc" 

cat > load.ncl << EOF 
  fna = "${fna}" 
  fnb = "${fnb}"
  varn = "${varn}"
EOF

ncl plot_pres.ncl 

end

setenv  fna "X0006A_0003-0007_ANN_zonal.nc" 
setenv  fnb "T63L31K01_2010_ANN_zonal.nc" 
cat > load.ncl << EOF 
  fna = "${fna}" 
  fnb = "${fnb}"
  varn = "vz"
EOF

ncl plot_zonal.ncl 

